/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Dcap.Model
{

    /// <summary>
    ///  dataSourceDesc
    /// </summary>
    public class DataSourceDesc
    {

        ///<summary>
        /// 数据源ID
        ///</summary>
        public string DataSourceId{ get; set; }
        ///<summary>
        /// 数据源类型: 1-&gt;MySQL
        ///</summary>
        public int? DataSourceType{ get; set; }
        ///<summary>
        /// 数据源名称
        ///</summary>
        public string DataSourceName{ get; set; }
        ///<summary>
        /// 数据源地址，域名或IP
        ///</summary>
        public string DataSourceAddr{ get; set; }
        ///<summary>
        /// 数据源端口
        ///</summary>
        public int? DataSourcePort{ get; set; }
        ///<summary>
        /// 数据源数据库名称
        ///</summary>
        public string DataSourceDbName{ get; set; }
        ///<summary>
        /// 区域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// VPC ID
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// Subnet ID
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// 防护状态: true-&gt;已防护,false-&gt;未防护
        ///</summary>
        public bool ProtectStatus{ get; set; }
        ///<summary>
        /// KMS 密钥ID
        ///</summary>
        public string KmsKeyId{ get; set; }
        ///<summary>
        /// 数据密钥密文
        ///</summary>
        public string KeyCipher{ get; set; }
        ///<summary>
        /// 加密算法，AES256/SM4
        ///</summary>
        public string EncryptAlgo{ get; set; }
        ///<summary>
        /// 索引算法，SHA256/SM3
        ///</summary>
        public string IndexAlgo{ get; set; }
    }
}
